home *** CD-ROM | disk | FTP | other *** search
/ The Guided Tour of Multimedia (Second Edition) / The Guided Tour of Multimedia (Second Edition).iso / trials / director / evalcopy / director.z / HELP.DIR / 00001_Script_1 next >
Text File  |  1994-05-26  |  1KB  |  35 lines

  1. -- HELP Movie Script Rev 2 
  2. -- *********************************************************************
  3. -- The startMovie handler is called automatically when the movie is started
  4. on startMovie
  5.   -- we use a special cursor that is stored as a cast member
  6.   set magcursor to [the number of cast "magnifying glass"]  
  7.   -- special cursor hot spots are: repeat,next, or quit help button, and
  8.   -- menu bar in last scene
  9.   set the cursor of sprite 11 = magcursor
  10.   set the cursor of sprite 12 = magcursor
  11.   set the cursor of sprite 13 = magcursor
  12.   set the cursor of sprite 22 = magcursor
  13. end startMovie
  14.  
  15. -- *********************************************************************
  16. -- The stopMovie handler is called automatically when the movie is stopped
  17. on stopMovie
  18.   -- since we are closing this movie, let's close our resource file as well
  19.   cursor(-1)
  20. end stopMovie
  21.  
  22. on helpButton
  23.   --we use the following handler to determine which of the buttons 
  24.   --in the help panel was clicked
  25.   if the clickOn = 11 then go to marker(-1)
  26.   if the clickOn = 12 then go to marker(+1)
  27.   if the clickOn = 13 then play done
  28. end
  29.  
  30. -- *********************************************************************
  31. -- Basic handler used when this movie is played in a window.
  32. -- Provides a way to reset the movie.
  33. on resetMovie
  34.   play movie "Begin.DIR"
  35. end resetMovie